import eel
import pyowm

owm = pyowm.OWM("13c042275c3f1090b0ab19713e513ba2")

@eel.expose
def get_weather(place):
    mgr = owm.weather_manager()

    observation = mgr.weather_at_place(city)
    w = observation.weather

    temp = w.temperature('celsius')['temp']
    return "в городе " + city + " сейчас " + str(temp) + " градусов!"

